package org.qs.webservice.dao.user;



import org.apache.ibatis.annotations.Param;
import org.qs.webservice.domain.UsBookReviewReply;
import org.springframework.stereotype.Component;

@Component
public interface UsBookReviewReplyMapper {
	
	/**
	 * 添加回复
	 * @param usBookReviewReply
	 * @return
	 */
	int addReviewReply(UsBookReviewReply usBookReviewReply);
	/**
	 * 根据id获取回复信息
	 * @param reply_id
	 * @return
	 */
	UsBookReviewReply getReviewReply(@Param("reply_id")int reply_id);
	/**
	 * 删除某个回复
	 * @param reply_id
	 * @return
	 */
	int deleteReviewReply(@Param("reply_id")int reply_id);
}